#include "worldobject.h"

int WorldObject::nextId = 0;

WorldObject::WorldObject() {
    objId = nextId++;
}

WorldObject::WorldObject(int x, int y, int width, int height) :
    rect(x, y, width, height)
{
    objId = nextId++;
}
